<template>
  <div class="content" v-if="!skeleton">
        <!-- 轮播图 -->
        <van-swipe :autoplay="3000">
          <van-swipe-item v-for="(image, index) in focusList" :key="index">
            <img v-lazy="image" />
          </van-swipe-item>
        </van-swipe>
        <!-- 政策选项 -->
        <div class="policyDesBox">
          <div
            class="policeDes"
            v-for="(item, index) in policyDescList"
            :key="index"
          >
            <img class="icon" :src="item.icon" />
            {{ item.desc }}
          </div>
        </div>
        <!-- kingKongModule -->
        <div class="kingKongBox">
          <a
            class="kingKongItem"
            v-for="(item, index) in kingKongList"
            :key="index"
            :href="item.schemeUrl"
          >
            <img :src="item.picUrl" alt="" />
            <span class="text">{{ item.text }}</span>
          </a>
        </div>
        <!-- 广告推广页面 -->
        <div class="bigPromotionBox">
          <div
            class="content"
            v-for="(item, index) in bigPromotion"
            :key="index"
            :class="item.cells.length > 1 ? 'two' : 'one'"
          >
            <div
              class="promotionContent"
              v-for="(img, i) in item.cells"
              :key="i"
            >
              <a :href="img.schemeUrl">
                <img :src="img.picUrl" />
              </a>
              <div class="title" v-if="img.title.length !== 0">
                <h3>{{ img.title }}</h3>
                <h4>{{ img.subTitle }}</h4>
              </div>
            </div>
          </div>
        </div>
        <!-- indexActivityModule -->
        <div class="indexActivityBox">
          <div class="bigTitle">新人专享礼</div>
          <div class="content">
            <div class="leftBox">
              <div class="leftTitle">新人专享礼包</div>
              <div class="imgBox">
                <a href="https://act.you.163.com/act/pub/qAU4P437asfF.html">
                  <img
                    src="//yanxuan.nosdn.127.net/352b0ea9b2d058094956efde167ef852.png"
                    alt=""
                  />
                </a>
              </div>
            </div>
            <div class="rightBox">
              <a
                :href="item.targetUrl"
                class="indexActivityItem"
                v-for="(item, index) in indexActivityList"
                :key="index"
              >
                <div class="desc">
                  <span class="title">{{ item.title }}</span>
                  <span class="subTitle">{{ item.subTitle }}</span>
                  <span class="tag">{{ item.tag }}</span>
                </div>
                <div class="imgBox">
                  <img v-lazy="item.showPicUrl" class="theImg" />
                </div>
                <div class="priceBox">
                  <span class="originPrice">{{ item.originPrice }}</span>
                  <span class="activityPrice">{{ item.activityPrice }}</span>
                </div>
              </a>
            </div>
          </div>
        </div>
        <!-- 类目热销榜 -->
        <div class="categoryHotSellModule">
          <div class="hotSellTitle">{{ categoryHotSellModule.title }}</div>
          <div class="content">
            <div
              class="hotSellBox"
              v-for="(item, index) in categoryHotSellModule.categoryList"
              :key="index"
              :class="index < 2 ? 'bigModule' : ''"
            >
              <div class="subTitle">{{ item.categoryName }}</div>
              <a :href="item.targetUrl" class="imgBox">
                <img v-lazy="item.showPicUrl" />
              </a>
            </div>
            <div class="hotSellBox empty"></div>
            <div class="hotSellBox empty"></div>
          </div>
        </div>
        <!-- sceneLightShoppingGuideModule -->
        <div class="shoppingGuideModule">
          <div
            class="shoppingGuideBox"
            v-for="(item, index) in sceneLightShoppingGuideModule"
            :key="index"
          >
            <div
              class="title"
              :style="{ color: '#' + item.styleItem.titleColor }"
            >
              {{ item.styleItem.title }}
            </div>
            <div
              class="desc"
              :style="{ color: '#' + item.styleItem.descColor }"
            >
              {{ item.styleItem.desc }}
            </div>
            <a :href="item.styleItem.targetUrl">
              <span
                class="imgBox"
                v-for="(pic, i) in item.styleItem.picUrlList"
                :key="i"
              >
                <img v-lazy="pic" />
              </span>
            </a>
          </div>
        </div>
      </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>

</style>